package org.mdrtwell.jdk15;

import org.mdrtwell.jdk15.EnumTest.Opertions;

public class ShowEnum {
	public static void compareToTest(Opertions opertions) {
		System.out.println(opertions);
		for (Opertions oper : Opertions.values()) {
			System.out.println(opertions.compareTo(oper));
		}
	}

	public static void main(String[] args) {
		// valueOf �������һ���ַ���ö������ʵ��
		compareToTest(Opertions.valueOf(args[0]));
	}
}
